package com.qk.common.enums;

public enum FileEnum implements  Code{
    UPLOAD_ERROR( "文件上传错误", 10002),
    ;

    private final String msg;
    private final int code;
    FileEnum(String msg, int code) {
        this.msg = msg;
        this.code = code;
    }
    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
